//
//  AccountViewController.h
//  MoneyLog
//
//  Created by Max on 11-6-18.
//  Copyright 2011年 wicresoft. All rights reserved.
//

#import <UIKit/UIKit.h>
@class AccountWrapper;
@class AccountTypeListViewController;

@interface AccountViewController : UIViewController<UITableViewDelegate,UITableViewDataSource,UITextFieldDelegate> {
    NSString        *titleString;
    UITableView     *_tableView;
    NSMutableArray  *dataSourceArray;
    
    
    UITextField     *accountNameTextField;
    UILabel         *accountTypeLabel;
    UILabel         *moneyKindLabel;
    UITextField     *moneyStartTextField;
    UILabel         *moneyTransferInLabel;
    UILabel         *moneyTransferOutLabel;
    UILabel         *moneyIncomeLabel;
    UILabel         *moneyExpenseLabel;
    UILabel         *moneyLabel;
    UISwitch        *moneyAlarmSwitch;
    UITextField     *moneyAlarmTextField;
    
    AccountWrapper  *account;
    
    AccountTypeListViewController   *accountTypeViewController;
}

@property (nonatomic,retain) NSString       *titleString;
@property (nonatomic,retain) IBOutlet UITableView     *_tableView;   
@property (nonatomic,retain) AccountWrapper  *account;
@property (nonatomic,retain) NSMutableArray  *dataSourceArray;

-(void)initData;

@end
